Print debugging output only if asked for, not always.
authorTor Lillqvist <tml@novell.com>
Wed, 16 Mar 2005 01:38:57 +0000 (01:38 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 16 Mar 2005 01:38:57 +0000 (01:38 +0000)
commitdf9768cf3a88a82d04c91c32dc2285d69ad4b02b
treebfa4cc7ccb8a7b8160a30f6a29aabccf9416234f
parent1b2584a8acc380dc6723b5d76fc36ff279596a30
Print debugging output only if asked for, not always.

2005-03-16  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
debugging output only if asked for, not always.

* gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
debugging printout instead of +%d+%d. Misc other additions and
cosmetic improvements to debugging printouts. Use API_CALL() and
GDI_CALL() macros in more places.

* gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
gdk_window_move_resize): To detect child windows, check whether
the real parent is not the desktop window, instead of relying on
the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
de facto child windows.
16 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/win32/gdkcolor-win32.c
gdk/win32/gdkdisplay-win32.c
gdk/win32/gdkdnd-win32.c
gdk/win32/gdkdrawable-win32.c
gdk/win32/gdkevents-win32.c
gdk/win32/gdkgeometry-win32.c
gdk/win32/gdkinput-win32.c
gdk/win32/gdkkeys-win32.c
gdk/win32/gdkmain-win32.c
gdk/win32/gdkpixmap-win32.c
gdk/win32/gdkproperty-win32.c
gdk/win32/gdkselection-win32.c
gdk/win32/gdkwindow-win32.c